<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %>


<logic:notPresent name="auth" scope="session">
	<h1>
		<bean:message key="login" />
	</h1>
 
	<html:form action="/login">
		<html:errors property="invalidUserName" />

		<bean:message key="label.username" />

		<html:text property="userName"></html:text>
		<html:errors property="userName1" />

		<br />
		<bean:message key="label.password" />
		<html:password property="password"></html:password>
		<html:errors property="password" />

		<br />
		<html:submit>
			<bean:message key="login" />
		</html:submit>

		<html:reset>
			<bean:message key="reset" />
		</html:reset>

	</html:form>
	</logic:notPresent>
